<template>
  <TypographyTitle content='约德尔战队集合了' :level=4 />
  <a-carousel arrows>
    <template #prevArrow>
      <div class="custom-slick-arrow" style="left: 10px; z-index: 1">
        <left-circle-outlined />
      </div>
    </template>
    <template #nextArrow>
      <div class="custom-slick-arrow" style="right: 10px">
        <right-circle-outlined />
      </div>
    </template>
    <div v-for="item in imageList">
      <img :src="item.src" />
    </div>
  </a-carousel>
  <div>
    <a-space-compact block>
      <a-tooltip title="Like">
        <a-button>
          <LikeOutlined />
        </a-button>
      </a-tooltip>
      <a-tooltip title="Comment">
        <a-button>
          <CommentOutlined />
        </a-button>
      </a-tooltip>
      <a-tooltip title="Star">
        <a-button>
          <StarOutlined />
        </a-button>
      </a-tooltip>
      <a-tooltip title="Heart">
        <a-button>
          <HeartOutlined />
        </a-button>
      </a-tooltip>
      <a-tooltip title="Share">
        <a-button>
          <ShareAltOutlined />
        </a-button>
      </a-tooltip>
    </a-space-compact>
  </div>
</template>
<script lang="ts" setup>
import { ref } from 'vue';
import {
  LeftCircleOutlined, RightCircleOutlined, DownloadOutlined,
  EllipsisOutlined,
  HeartOutlined,
  LikeOutlined,
  CommentOutlined,
  StarOutlined,
  ShareAltOutlined,
} from '@ant-design/icons-vue';
import { List, Card, Image, Typography, Tooltip, Slider, Avatar, Divider } from 'ant-design-vue';

import img1 from '/@/views/zhc/test/lolm/images/lolm1.jpg'
import img2 from '/@/views/zhc/test/lolm/images/lolm2.jpg'

const imageList = ref([
  { src: img1 },
  { src: img2 },
]);
const TypographyTitle = Typography.Title;

</script>
<style scoped>
/* For demo */


:deep(.slick-arrow.custom-slick-arrow) {
  width: 25px;
  height: 25px;
  font-size: 25px;
  color: #fff;
  background-color: rgba(31, 45, 61, 0.11);
  transition: ease all 0.3s;
  opacity: 0.3;
  z-index: 1;
}

:deep(.slick-arrow.custom-slick-arrow:before) {
  display: none;
}

:deep(.slick-arrow.custom-slick-arrow:hover) {
  color: #fff;
  opacity: 0.5;
}

:deep(.slick-slide h3) {
  color: #fff;
}

:deep(.slick-thumb) {
  bottom: 0px;
}

:deep(img) {
  width: 100%;
  height: 100%;
  /* filter: grayscale(100%); */
  display: block;
}

:deep .slick-thumb li.slick-active img {
  filter: grayscale(0%);
}
</style>
